#!/bin/bash

set -eo pipefail

echo "--- :git: cleaning checkout"
if [[ -d "./_tools" ]]; then
  chmod -R +w ./_tools
fi
git clean -dffx
